<!DOCTYPE html>
<html>
<head>
{~'<base h'.'ref="'.ini('settings.site_url').'/" />'}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if mocod()=='index.main'}
{conf index_title}
{else}
{echo ($this->Title != '') ? $this->Title.' - ' : (ini('cplace.cnpre.enabled') ? (logic('misc')->City('name').ini('settings.tuangou_str').' - ') : '')}{ini:settings.site_name}{conf page_title}
{/if}</title>
<meta name="Keywords" content="{~ini('settings.'.(mocod()=='index.main'?'index_':'').'meta_keywords')}" />
<meta name="Description" content="{~ini('settings.'.(mocod()=='index.main'?'index_':'').'meta_description')}{if $__p = productCurrentView()},{echo strip_tags($__p['intro'])}{/if}" />
<script type="text/javascript">
var thisSiteURL = '{ini:settings.site_url}/';
var tuangou_str = '{ini:settings.tuangou_str}';
</script>
<link rel="shortcut icon" href="favicon.ico" />
<!--{~ui('loader')->css('style')}-->
<!--{~ui('loader')->js('@jquery')}-->
<!--{~ui('loader')->js('@common')}-->
<!--{~ui('loader')->js('index_cp')}-->
{echo '<!-'.'-[if IE 6]>'}
<!--{~ui('loader')->js('DD_belatedPNG')}-->
<script type="text/javascript">
DD_belatedPNG.fix('*');
</script>
{echo '<![endif]-'.'->'}
{if false==DEBUG}
{~ui('loader')->js('@error.clear')}
{/if}

<!--[if lt IE 9]> 
<!--{~ui('loader')->js('@html5')}-->
<![endif]-->

<!--[if lte IE 8]> 
<noscript>
     <style>.html5-wrappers{display:none!important;}</style>
     <div class="ie-noscript-warning">您的浏览器禁用了脚本，请启用脚本!或者<a href="/?noscript=1">继续访问</a>.
     </div>
</noscript>
<![endif]-->
</head>
<body>

<header id="site-mast" >
<div class="site-mast">
{eval $unms = ui('style')->allowMulti() ? false : true}
<div class="site-mast__user-nav">
<ul id="mobile-info"{if $unms} style="background:none;"{/if}>
<!--<li class="hdnav_separator_left"></li>-->
<li class="mobile-info__item" style="width:300px;text-align: left; border:none;border-right:none">
{eval $kf=ini('data.cservice')}
服务热线:<font style="font-size: 14px;color: #C9033B;font-weight: bold;"> {$kf['phone']}</font>
</li>

</ul>

<div class="site-mast__user-w" >
<!--{if MEMBER_ID > 0}-->
<script type="text/javascript">
$(document).ready(function(){
if ($(".sp_member").width()>75){
$(".sp_member").width(75) ;}});
</script>
<div class="user-info {if MEMBER_ROLE_ID==3}welcom{/if}">
<div class="user-info__name">
<span style="float:left;">欢迎您，</span>
<span class="sp_member">{MEMBER_NAME}</span>
</div>
<div class="user-info__logout">
<a href="?mod=account&code=logout">退出</a>            
</div>
</div>
{if $this->MemberHandler->HasPermission('index',"",1) === true}
<div class="user-info" >
<a href="admin.php" target="_blank">管理后台</a>
</div>
{/if} 
{if MEMBER_ROLE_ID==6}
<div class="user-info" >
<a href="?mod=seller&code=manage">商家管理</a>
</div>
{/if} 
<div class="user-info">
<div class="dropdown">
我的{TUANGOU_STR}<i class="tri"></i>
<div class="dropdown-menu">
<div><a href="?mod=me&code=coupon" class="sh_t">我的{TUANGOU_STR}券</a></div>
<div><a href="?mod=me&code=order">我的订单</a></div>
<div><a href="?mod=me&code=bill">收支明细</a></div>
<div><a href="?mod=me&code=favorite">我的收藏</a></div>
<div><a href="?mod=me&code=setting">账户设置</a></div>
<div><a href="?mod=me&code=address">收货地址</a></div>
<div><a href="?mod=recharge">账户充值</a></div>
<div><a href="?mod=me&code=credit">我的积分</a></div>
</div>
</div>
</div>
<!--{else}-->
<div class="user-info">
<div class="user-info__name">您好！欢迎您的到来。</div>
<div class="user-info__login">
<a href="?mod=account&code=login">登录</a>
</div>
<div class="user-info__signup">
<a href="?mod=account&code=register">注册</a>
</div>
</div>
<!--{/if}-->

</div>    
</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
$(".dropdown").mouseover(function(){$(".dropdown-menu").show();$(".dropdown").addClass("dropdown-open");});
$(".dropdown").mouseout(function(){$(".dropdown-menu").hide();$(".dropdown").removeClass("dropdown-open");});
});
</script>
<!-- bannerAD -->
{if (logic('misc')->City('name')=="新乡")}
<div style="width:1000px;margin:5px auto;position: relative;clear: both;" id="bannerAD">
<a href="/zhuanti" target="_blank">
<img {echo 'sr'.'c="'.ini('settings.site_url').'/templates/xqw/images/banner.jpg"'} width="1000px" height="90px"/></a>
<a onclick='$("#bannerAD").slideToggle();' class="close-btn" href="javascript:void(0);" title="关闭"></a>
</div>
{elseif (logic('misc')->City('name')=="北京")}
<div style="width:1000px;margin:5px auto;position: relative;clear: both;" id="bannerAD">
<a href="/lottery" target="_blank">
<img src="http://pic.yupoo.com/xq517/E5dDpKuG/e6coM.jpg" width="1000px" height="90px"/></a>
<a onclick='$("#bannerAD").slideToggle();' class="close-btn" href="javascript:void(0);" title="关闭"></a>
</div>
{/if}
<style>
#bannerAD .close-btn {
position: absolute;
top: 5px;
right: 5px;
display: block;
width: 15px;
height: 15px;
background: url(http://css.suning.cn/css/ShoppingArea/V10/images/public.sprite.png?v=20140512) no-repeat -242px -64px;}
</style>

<!-- bannerAD -->


<div class="site-mast__branding cf">
<div class="site-logo"><a href="./"><img src="templates/default/images/logo.png" /></a></div>
<div class="city-info">
<h2><a class="city-info__name" href="javascript:void(0)">{~logic('misc')->City('name')}</a></h2>
<a class="city-info__toggle"  href="/home/citylist">切换城市</a>

</div>

<div class="J-search-box search-box ">


<input type="text" name="w" autocomplete="off" id="search-txt" class="s-text search-box__input J-search-box__input" value="{$kw}" placeholder="搜索您需要的商品" x-webkit-speech onkeyup="if (event.keyCode == 13) front_search_request();">
<input type="button" class="s-submit search-box__button"  value="搜&nbsp;&nbsp;索"  onclick="front_search_request()">

</div>

<script type="text/javascript">
var front_search_base = "{echo logic('url')->create('search', array('mod'=>'search','kw' => 'xqw'))}";
function front_search_request()
{
window.location = front_search_base.replace('xqw', encodeURIComponent($('#search-txt').val()));
}
</script>
<div class="site-commitment pngfix">
<a href="?mod=downapp" target="_blank"><img src="./static/images/appdown.png" /></a>
</div></div>
</header>

<div class="header_nav">
<ul>
{loop $this->Config['__navs'] $i $nav}
<li><a href="{$nav['url']}" title="{$nav['title']}" target="{$nav['target']}" class="{$nav['class']}">{$nav['name']}</a></li>
{/loop}
</ul>
</div>


<!--{~logic('lunboad')->GetList()}-->



<div class="tejia">
<div class="tejia_title"><h2>推荐店铺</h2></div>

<div class="category-floor" id="tjdp">
<div class="category-floor__body cf">
{loop $seller $k $item}
{if $k>=12}
{eval break;}
{/if}
<div class="deal-tile deal-tile--even"><a href="?mod=seller&code=view&id={$item['id']}" class="deal-tile__cover"  target="_blank"> <img class="lazy" src="{echo imager((int) $item['imgs'], IMG_Normal)}" width="314" height="192"/>	<span class="deal-mark"></span></a><h3 class="deal-tile__title"><a href="?mod=seller&code=view&id={$item['id']}" class="w-link" title="{$item['sellername']}" target="_blank"><span class="xtitle">{$item['sellername']}</span><span class="short-title" style="font-size:12px;">{eval echo cutstr(strip_tags({$item[selleraddress]}),70)}</span></a></h3><p class="deal-tile__detail">
<span class="price" style="font-size:14px;">联系电话:<strong style="font-size:14px;">{$item[sellerphone]}</strong></span>
</p>
<div class="deal-tile__extra"><p class="extra-inner">

<span class="rate-info" ></span></p></div></div>

{/loop}

</div>
 </div>    
</div>
<script type="text/javascript">
$("#tjdp").slide({mainCell:".category-floor__body",autoPage:true,effect:"left",autoPlay:true,vis:3});
</script>
<div class="tejia">
<div class="tejia_title"><h2>超级特卖 Special Area</h2></div>

<div class="category-floor">
<div class="category-floor__body cf">
{loop $product $k $item}
{if $k>=6}
{eval break;}
{/if}
<div class="deal-tile deal-tile--even"><a href="?view={$item['id']}" class="deal-tile__cover"  target="_blank"> <img class="lazy" {echo 'sr'.'c="'.ini('settings.site_url').'/static/images/1x1.gif"'} data-original="{echo imager($item['imgs'][0], IMG_Normal);}" width="314" height="192"/>	<span class="deal-mark"></span></a><h3 class="deal-tile__title"><a href="?view={$item['id']}" class="w-link" title="{$item['name']}" target="_blank"><span class="xtitle">{$item['name']}</span><span class="short-title" style="font-size:12px;">{eval echo cutstr(strip_tags($item['intro']),58)}</span></a></h3><p class="deal-tile__detail">

<span class="price">{if $item['preprice']}{$item['pretext']}:{/if}¥<strong>{$item['nowprice']}</strong></span>

<span class="value">门店价<del class="num"><span>¥</span>{$item['price']}</del></span></p><div class="deal-tile__extra"><p class="extra-inner">
{if $item['preprice']}
<span class="sales">{TUANGOU_STR}价:<strong class="num">{$item['preprice']}</strong></span>
{else}
<span class="sales">已售<strong class="num">{$item['succ_buyers']}</strong></span>
{/if}
<span class="rate-info" ><span class="rate-info__bar common-rating"><span class="rate-stars" style="width:94%;"></span></span></span></p></div></div>

{/loop}

</div>
 </div>    
</div>

<!--{~logic('topic')->Get_ddc_list()}-->
<!--{~logic('topic')->Get_kc_list()}-->
<!--{~logic('topic')->Get_zxc_list()}-->

<!--{~logic('topic')->Get_tc_list()}-->
<!--{~logic('topic')->Get_ddqc_list()}-->   
<!--{~logic('topic')->Get_pj_list()}-->  
{if ini('ui.igos.lazyimager')}
{~ui('loader')->js('@jquery.lazyload')}
<script type="text/javascript">
$("img.lazy").lazyload({effect:'fadeIn',skip_invisible:false});
</script>
{/if}
<!--底部导航-->
    <div class="footer">
    	<div class="footerBody">
            <div class="footBody">
                <div class="footTop" >
                <ul class="footRight">
                        <li class="foot_hand">商务合作</li>
                        <!--{if MEMBER_ROLE_ID!=6}--><li><a href="?mod=seller_join">申请成为商家</a></li><!--{/if}-->
						<li><a href="?mod=list&code=feedback">意见反馈</a></li>
						<li><a href="?mod=list&code=business">商务合作</a></li>
						<li><a href="?mod=openapi">开放 API</a></li>
                    </ul>
                    <ul>
                        <li class="foot_help">使用帮助</li>
                       <li><a href="?mod=html&code=help">{TUANGOU_STR}指南</a></li>
					   <li><a href="?mod=html&code=faq">常见问题</a></li>
					   <li><a href="?mod=subscribe&code=mail">邮件订阅</a></li>
					   <li><a href="?mod=subscribe&code=sms">短信订阅</a></li>
                    </ul>
                    <ul>
                        <li class="foot_service">联系我们</li>
                    	<li><a href="?mod=html&code=contact">联系我们</a></li>
						<li><a href="?mod=list&code=ask">在线问答</a></li>  
						<li><a href="?mod=html&code=yanzheng">商家验证流程</a></li>
                    </ul>
                   
                    <ul>
                        <li class="foot_about">公司信息</li>
                        <li><a href="?mod=html&code=about">关于我们</a></li>
						<li><a href="?mod=html&code=privacy">隐私保护</a></li>
						<li><a href="?mod=html&code=join">加入我们</a></li>
						<li><a href="?mod=html&code=terms">用户协议</a></li>
                    </ul>
                     <ul style="width:119px;">
                        <li class="foot_erweima" style="text-align:center; padding-left:0px;">手机行骑</li>
                        <li style="height:78px;line-height:78px; padding-left:20px;"><img src="static/images/apperweima.png" width="78" height="78"/></li>
						<li style="text-align:center; padding-left:0px;">下载移动客户端</li>
                    </ul>
                    
                    <ul style="width:119px;">
                        <li class="foot_erweima" style="text-align:center;padding-left:0px;">行骑微信</li>
                        <li style="height:78px;line-height:78px;padding-left:20px;"><img src="static/images/weixinerweima.jpg" width="78" height="78"/></li>
						<li style="text-align:center;padding-left:0px;">行骑网官方微信</li>
                    </ul>
                  
                </div>

                
                 
                <div class="footer_txt">
                	<p><span class="arial">&copy; </span><span class="weiruan"> {conf copyright}</span>   <a href='http://www.miibeian.gov.cn/' target="_blank" style="color:#666;">{conf icp}</a> </p>
                    <p class="lightGrey"><!--{conf tongji}--></p>
                </div> 
                
                <div class="footBottom_list" >
                    <ul>
                       


                        <li>
                            <div class="two"><a href='#' rel="nofollow" target='_blank'></a></div>
                        </li>


                        <li>
                            <div class="three"><a href="#" target="_blank"></a></div>
                        </li>
                        <li>
                            <div class="four"><a href="javascript:void(0);"></a></div>
                        </li>
                        <li>
                            <div class="five"><a href="http://www.chinabank.com.cn/" rel="nofollow"  target="_blank"></a></div>
                        </li>
                        <li>
                            <div class="six"><a href="http://www.alipay.com" rel="nofollow" target="_blank"></a></div>
                        </li>
                    </ul>
                </div>
            </div>
            </div>
        </div>
<!-- 代码开始 -->
<div id="tbox">
	<a class="pinglun ddc" href="#ddc"></a>
    <a class="pinglun zxc" href="#zxc"></a>
    <a class="pinglun kuche" href="#kuche"></a>
    <a class="pinglun tc" href="#tongche"></a>
	<a class="pinglun ddqc" href="#ddqc"></a>
	<a class="pinglun peijian" href="#peijian"></a>
	<a class="pinglun" id="gotop" href="javascript:void(0)"></a>
</div>
<!-- 代码结束 -->      
<script type="text/javascript">
$(document).ready(function() {

var last_show = null;
$(".sub_title").mouseover(function() {
if(last_show != null) {
last_show.prev().css({ "color":"#FF6600" , "font-weight":"normal" });
last_show.hide();				
}
last_show = $(this).css({ "color":"#FF6600" }).next();
last_show.show();	
}).css({ "cursor":"pointer" , "text-decoration":"underline" });	
$("li a").click(function() {			
$(".show_citys").hide();
$("#show_provinces").hide();
});
$("#close").click(function() {
$(".show_citys").css({ "color":"#FF6600" }).hide();
$("#show_provinces").css({ "color":"#FF6600" }).hide();
}).mouseover(function() { 
$(this).css({ "color":"#FF6600" });
}).mouseout(function() {
$(this).css({ "color":"#FF6600" });	
}).css({ "cursor":"pointer" });
});

</script>
<script type="text/javascript">
/* function a(x,y){
var l = $('.site-mast__user-nav').offset().left;
var wid = $('.site-mast__user-nav').width();

$('#stick-qrcode').css('left',(l + wid + x) + 'px');
$('#stick-qrcode').css('bottom',y + 'px');
}
function b(){
w_h = $(window).height();
d_t = $(document).scrollTop()*3;
if(d_t > w_h){
$('#gotop').css("display","block");
}else{
$('#gotop').hide();
}
}
$(document).ready(function(e) {		
a(10,120);//#content_us的div距浏览器底部和页面内容区域右侧的距离
b();
$('#gotop').click(function(){
//$(document).scrollTop(0);
$('html, body').animate({scrollTop: 0},300);	
})
});
$(window).resize(function(){
a(10,120);//#content_us的div距浏览器底部和页面内容区域右侧的距离
});
$(window).scroll(function(e){
b();		
}) */

function b(){
	h = $(window).height();
	t = $(document).scrollTop();
	if(t > h){
		$('#gotop').fadeIn();
	}else{
		$('#gotop').fadeOut();
	}
}
$(document).ready(function(e) {
	b();
	$('#gotop').click(function(){
		$('html, body').animate({scrollTop: 0},300);
	})
});
$(window).scroll(function(e){
	b();		
})

</script>
<!--{~ui('pingfore')->html()}-->
</body>
</html>
{~handler('member')->UpdateSessions()}